#!/usr/bin/env python
'''
__author__=Yawei Yang
__date__ = June 21th 2012
__doc__ =  Program 2-2 for chapter 2
'''


from control.matlab import *
num = [1, 0]
den = [1, 14, 56, 160]
sys = tf2ss(num,den)
print sys

#A = [[ -14.  -56. -160.]
# [   1.    0.    0.]
# [   0.    1.    0.]]
#
#B = [[ 1.]
# [ 0.]
# [ 0.]]
#
#C = [[ 0.  1.  0.]]
#
#D = [[ 0.]]

